-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix #1258, Add OS_StatusToString API #1259
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
skliper
added
the
CCB:Ready
Pull request is ready for discussion at the Configuration Control Board (CCB)
label
May 27, 2022
CCB:2022-06-01 APPROVED
|
astrogeco
added
CCB:Approved
Indicates code review and approval by community CCB
and removed
CCB:Ready
Pull request is ready for discussion at the Configuration Control Board (CCB)
labels
Jun 1, 2022
skliper
force-pushed
the
fix1258-status_to_string
branch
from
June 6, 2022 22:59
1c362a3
to
d902e37
Compare
|
||
if (status_string != NULL) | ||
{ | ||
snprintf(*status_string, sizeof(*status_string), "%ld", OS_StatusToInteger(status)); |
Check warning
Code scanning / CodeQL-coding-standard
Unchecked return value
The return value of non-void function [snprintf](1) is not checked.
|
||
if (status_string != NULL) | ||
{ | ||
snprintf(*status_string, sizeof(*status_string), "%ld", OS_StatusToInteger(status)); |
Check warning
Code scanning / CodeQL-coding-standard
Unchecked function argument
This use of parameter status has not been checked.
astrogeco
added a commit
that referenced
this pull request
Jun 10, 2022
Fix #1258, Add OS_StatusToString API
astrogeco
added a commit
to nasa/cFS
that referenced
this pull request
Jun 10, 2022
nasa/osal#1259, Add OS_StatusToString API
2 tasks
astrogeco
added a commit
to nasa/cFS
that referenced
this pull request
Jun 22, 2022
*Combines:* cFE v7.0.0-rc4+dev143 osal osal v6.0.0-rc4+dev87 psp v1.6.0-rc4+dev ci_lab v2.5.0-rc4+dev22 to_lab v2.5.0-rc4+dev21 sample_app v1.3.0-rc4+dev21 **Includes:** - nasa/cFE#2119, Endian macro mask before shift to avoid shift overflow warning - nasa/cFE#2115, Add macro for initializing command header *Add StatusToString API* - nasa/osal#1259, Add OS_StatusToString API - nasa/PSP#347, Add CFE_PSP_StatusToString and CFE_PSP_STATUS_C - nasa/cFE#2113, Add CFE_ES_StatusToString and CFE_STATUS_C *Remove registration of empty EVS filters* - nasa/ci_lab#111, Remove registration of empty EVS filters - nasa/to_lab#122, Remove registration of empty EVS filters - nasa/sample_app#175, Remove registration of empty event filters
astrogeco
added a commit
to nasa/cFS
that referenced
this pull request
Jun 22, 2022
*Combines:* cFE v7.0.0-rc4+dev143 osal osal v6.0.0-rc4+dev87 psp v1.6.0-rc4+dev ci_lab v2.5.0-rc4+dev22 to_lab v2.5.0-rc4+dev21 sample_app v1.3.0-rc4+dev21 **Includes:** - nasa/cFE#2119, Endian macro mask before shift to avoid shift overflow warning - nasa/cFE#2115, Add macro for initializing command header *Add StatusToString API* - nasa/osal#1259, Add OS_StatusToString API - nasa/PSP#347, Add CFE_PSP_StatusToString and CFE_PSP_STATUS_C - nasa/cFE#2113, Add CFE_ES_StatusToString and CFE_STATUS_C *Remove registration of empty EVS filters* - nasa/ci_lab#111, Remove registration of empty EVS filters - nasa/to_lab#122, Remove registration of empty EVS filters - nasa/sample_app#175, Remove registration of empty event filters Co-authored-by: Jacob Hageman <skliper@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Checklist (Please check before submitting)
Describe the contribution
Related to:
Testing performed
Added unit and functional tests, confirmed expected output
Expected behavior changes
None, just adds macro for future cleanup that will be Draco compliant
System(s) tested on
Additional context
See links above.
Third party code
None
Contributor Info - All information REQUIRED for consideration of pull request
Jacob Hageman - NASA/GSFC